//
//  MenuPageView.h
//  SAYAKA_Table
//
//  Created by numanuma08 on 2013/07/20.
//  Copyright (c) 2013年 勘米良. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ItemThumbnailView.h"

@protocol TileMenuPageViewDelegate;

@interface TileMenuPageView : UIView <ItemThumbnailViewDelegate> {
    ItemThumbnailView *_itemThunbnailView1;
    ItemThumbnailView *_itemThunbnailView2;
    ItemThumbnailView *_itemThunbnailView3;
    ItemThumbnailView *_itemThunbnailView4;
    ItemThumbnailView *_itemThunbnailView5;
    ItemThumbnailView *_itemThunbnailView6;
}

+ (id)tileMenuPageView;
- (void)setItemThumbnail:(Item *)item number:(NSInteger)number;
- (void)startAutoScrollAllThumnbnail;
@property (nonatomic)id<TileMenuPageViewDelegate> delegate;
@property (nonatomic, strong) IBOutlet UIView *thumbnailAreaView1;
@property (nonatomic, strong) IBOutlet UIView *thumbnailAreaView2;
@property (nonatomic, strong) IBOutlet UIView *thumbnailAreaView3;
@property (nonatomic, strong) IBOutlet UIView *thumbnailAreaView4;
@property (nonatomic, strong) IBOutlet UIView *thumbnailAreaView5;
@property (nonatomic, strong) IBOutlet UIView *thumbnailAreaView6;
@property (nonatomic, strong) Category *category;
@end


@protocol TileMenuPageViewDelegate <NSObject>
- (void)tileMenuPageView:(TileMenuPageView*)tileMenuPageView didSelectItem:(Item*)item;
@end